How to draw a resistor step by step